Dev4Press\Plugin\DebugPress\Main\IP A

Total Complexity 62
Dependencies 0
Dependents 2
Total lines 349
Lines of code 247
Logical lines of code 145
Comment lines 0
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
is_ipv4_in_range()
A
44 11 41
is_cloudflare_ip()
A
52 9 27
get_full_ipv6()
A
48 7 33
get_visitor_ip()
A
49 7 32
is_private_ip()
S
56 7 19
is_ipv6_in_range()
S
48 6 32
validate_ip()
S
58 5 16
get_all_ips()
S
55 3 21
ip2long6()
S
61 3 11
get_server_ip()
S
68 2 7
cleanup_ip()
S
66 2 8